<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="./js/jquery/jquery-3.2.1.js"></script>
</head>
<style>
    .outer {
        width: 500px;
        height: 500px;
        overflow: auto;

    }

    .inner {
        width: 500px;
        height: 1000px;
    }
</style>

<body>
    <div class="outer">
        <div class="inner">
            asdsahjdkjdaskfjhkhdsafkjdfxcxcvxcbcvbfbcvbdfgdgsadfsadfsadgfhfgjhgnvbnfgnvndgfdcxvvdgfasdsahjdkjdaskfjhkhdsafkjdfxcxcvxcbcvbfbcvbdfgdgsadfsadfsadgfhfgjhgnvbnfgnvndgfdcxvvdgfasdsahjdkjdaskfjhkhdsafkjdfxcxcvxcbcvbfbcvbdfgdgsadfsadfsadgfhfgjhgnvbnfgnvndgfdcxvvdgfasdsahjdkjdaskfjhkhdsafkjdfxcxcvxcbcvbfbcvbdfgdgsadfsadfsadgfhfgjhgnvbnfgnvndgfdcxvvdgfasdsahjdkjdaskfjhkhdsafkjdfxcxcvxcbcvbfbcvbdfgdgsadfsadfsadgfhfgjhgnvbnfgnvndgfdcxvvdgfasdsahjdkjdaskfjhkhdsafkjdfxcxcvxcbcvbfbcvbdfgdgsadfsadfsadgfhfgjhgnvbnfgnvndgfdcxvvdgfasdsahjdkjdaskfjhkhdsafkjdfxcxcvxcbcvbfbcvbdfgdgsadfsadfsadgfhfgjhgnvbnfgnvndgfdcxvvdgfasdsahjdkjdaskfjhkhdsafkjdfxcxcvxcbcvbfbcvbdfgdgsadfsadfsadgfhfgjhgnvbnfgnvndgfdcxvvdgfasdsahjdkjdaskfjhkhdsafkjdfxcxcvxcbcvbfbcvbdfgdgsadfsadfsadgfhfgjhgnvbnfgnvndgfdcxvvdgf
        </div>
    </div>
</body>
<script>
    $(".outer").click(function () {
        console.log($(".outer").scrollTop())
    })
    //增
    //append prepend appendTo prependTo after before 
    //删
    //empty removechild remove
    //改
    //replaceWith

    
</script>

</html>